//
//  AWMessageSendStatus.h
//  AtWork2
//
//  Created by lucas on 15/5/5.
//  Copyright (c) 2015年 Foreveross. All rights reserved.
//

#ifndef AtWork2_AWMessageSendStatus_h
#define AtWork2_AWMessageSendStatus_h

typedef NS_ENUM(NSUInteger, AWMessageSendStatus) {
    
    /** 已发送 */
    AWMessageSendStatusSent = 0,
    
    /** 发送失败 */
    AWMessageSendStatusFault,
    
    /** 发送中 */
    AWMessageSendStatusSending
};

static inline NSString * buildMessageSendStatus(AWMessageSendStatus status) {
    switch (status) {
        case AWMessageSendStatusSent:
            return @"Sent";
        case AWMessageSendStatusFault:
            return @"Fault";
        case AWMessageSendStatusSending:
            return @"Sending";
    }
}

#endif
